On 7/19/2023 8:32 PM, Alan Bowen wrote:
The latest version fixes the \placeinitial issue.
it's kind of tricky because a nested paragraph (as in footnotes) can
reset the state so we need to take precautions for that without harming
performance
Hans
Hans—
The latest version fixes the \placeinitial issue.
Many thanks!
Alan
On Sun, Jul 16, 2023 at 5:09 PM Alan Bowen wrote:
> Hi—
> \placeinitial seems to fail when there is a footnote in the paragraph. At
> least
>
> \startparagraph
> \placeinitial \input ward \f
Hi—
\placeinitial seems to fail when there is a footnote in the paragraph. At
least
\startparagraph
\placeinitial \input ward \footnote{A footnote.}
\stopparagraph
only works when the footnote is commented out.
I am running lmtx [ConTeXt ver: 2023.06.22 LMTX fmt: 2023.6.26]
Alan
Gerben Wierda via ntg-context 于2023年5月17日周三 06:42写道:
> I did a simple thing, replace a \framed by \framedtext to get
> \placeinitial working but that doesn't seem to work automatically:
>
> %==
> \starttext
> \setupinitial[n=2,text=Knuth]\placei
I did a simple thing, replace a \framed by \framedtext to get \placeinitial
working but that doesn't seem to work automatically:
%==
\starttext
\setupinitial[n=2,text=Knuth]\placeinitial\input knuth
\framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial
I'd like to use a drop cap inside a \framed, but it doesn't work.
Minimal example:
%==
\starttext
\setupinitial[n=2,text=Knuth]\placeinitial\input knuth
\framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input knuth
}
\stoptext
Never mind. Apparently lmtx changed the default for \setupindenting from
'next' to 'first'?
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
The following produces different results in mkiv and lmtx (to which I am brand
new):
\setupinitial[distance=1pt,font=Serif at 36pt,n=2]
\setupindenting[medium,yes]
\starttext
\placeinitial
\input knuth
\stoptext
The mkiv output is the desired effect. It works fine in lmtx if I do
On 9/25/2021 10:45 PM, Thangalin via ntg-context wrote:
Henri Menke provided a partial solution:
\defineinitial[two][method={first,auto}]
\setuphead[chapter][
after={\placeinitial[two]},
page=no,
]
\starttext
\chapter{Harriet Tubman}
"Every great dream begins with a dreamer. A
> On 25 Sep 2021, at 21:45, Thangalin via ntg-context
> wrote:
>
> Henri Menke provided a partial solution:
>
> \defineinitial[two][method={first,auto}]
> \setuphead[chapter][
> after={\placeinitial[two]},
> page=no,
> ]
>
> \starttext
> \chapt
Henri Menke provided a partial solution:
\defineinitial[two][method={first,auto}]
\setuphead[chapter][
after={\placeinitial[two]},
page=no,
]
\starttext
\chapter{Harriet Tubman}
"Every great dream begins with a dreamer. Always remember, you have within
you the strength, the pat
Hi list,
The following example shows a lettrine that stylizes a quotation mark:
\setuphead[chapter][
after={\placeinitial},
page=no,
]
\starttext\chapter{Harriet Tubman}
"Every great dream begins with a dreamer. Always remember, you have within
you the strength, the patience, and the pa
You are welcome. Obviously, it's a dirty trick. For example, it falls
down if we have a non-white background on our page.
Hopefully LMTX won't take long to update.
Eduardo Bohoyo
El 26/5/21 a las 0:01, jbf escribió:
Thanks Eduardo. Hans had seen the problem and the latest upgrade
solves it.
Thanks Eduardo. Hans had seen the problem and the latest upgrade solves
it. But I'll keep your little trick in mind!
Julian
On 25/5/21 9:35 pm, Eduardo Bohoyo wrote:
I have just seen that I also experience the same problem. I didn't
realise it. I have provisionally "solved" it with an unfancy
I have just seen that I also experience the same problem. I didn't
realise it. I have provisionally "solved" it with an unfancy workaround.
For instance, in your case it could be something like this:
\definecolor[dropcapitals][t=0.40,a=1]
This is not ideal. I know. But for the moment I can't
=darkgray,font=adellesemibold at 46pt,distance=3pt,n=3]
\starttext
\placeinitial{M}{\sc aking sense of the world} at any time is a fraught
exercise...
\stoptext
fixed in next upload
-
Hans
,distance=3pt,n=3]
\starttext
\placeinitial{M}{\sc aking sense of the world} at any time is a fraught
exercise...
\stoptext
Julian
___
If your question is of interest to others as well, please add an entry
Ah, I got it. Thanks for the clarification, Hans.
It's clear that this makes sense.
Eduardo Bohoyo
El 24/5/21 a las 14:22, Hans Hagen escribió:
On 5/24/2021 12:41 PM, Eduardo Bohoyo wrote:
Thank you, Hans. This tweak works perfectly on a provisional basis.
However, from my relative
. I speak from the lack of
knowledge of a user who wants to learn a little more.
Eduardo Bohoyo
El 23/5/21 a las 13:07, Hans Hagen escribió:
On 5/23/2021 2:41 AM, Eduardo Bohoyo wrote:
My question will be very simple: Is there a trick to make
\placeinitial command work within makeup pages
On 5/24/2021 12:41 PM, Eduardo Bohoyo wrote:
Thank you, Hans. This tweak works perfectly on a provisional basis.
However, from my relative ignorance of ConTeXt and LMTX, I have a
question: Why is it better at the moment to include this code in
cont-new.mkxl instead on the preamble of my
On 5/23/2021 2:41 AM, Eduardo Bohoyo wrote:
My question will be very simple: Is there a trick to make \placeinitial
command work within makeup pages?
One of my pages inside the /frontmater/ is a quote page within an
special layout. Before using LMTX, when I could use the Lettrine module
My question will be very simple: Is there a trick to make \placeinitial
command work within makeup pages?
One of my pages inside the /frontmater/ is a quote page within an
special layout. Before using LMTX, when I could use the Lettrine module,
that quote started with a capital letter
Just updated my installation. Many thanks, Mojca.
Alan
On Tue, Nov 3, 2015 at 2:32 AM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:
> On Mon, Nov 2, 2015 at 10:19 PM, Alan Bowen wrote:
> > Hi, Pablo—
> >
> > I reinstalled Context Suite/Standalone for Mac OSX and see that it comes
>
On Mon, Nov 2, 2015 at 10:19 PM, Alan Bowen wrote:
> Hi, Pablo—
>
> I reinstalled Context Suite/Standalone for Mac OSX and see that it comes
> with luatex beta 0.80.
LuaTeX is now at 0.81 for all the platforms except for Solaris and armhf-linux.
Mojca
from the ConTeXt Suite (aka ConTeXt
> Standalone).
>
> Just in case it might help,
>
> Pablo
>
> >
> > On Sun, Nov 1, 2015 at 9:18 AM, Hans Hagen wrote:
> >
> > On 10/31/2015 2:26 PM, Alan Bowen wrote:
> >
> > \plac
10/31/2015 2:26 PM, Alan Bowen wrote:
\placeinitial used to work but now does not with the latest beta.
Try the example from http://wiki.contextgarden.net/Initials.
\setupinitial[color=red,font=Bold sa 4,distance=3pt,state=start,n=3]
\starttext
\placein
Thanks, Hans.
Will the next beta standalone from the Pragma site come with luatex0.81 or
is this a separate download?
Alan
On Sun, Nov 1, 2015 at 9:18 AM, Hans Hagen <pra...@wxs.nl> wrote:
> On 10/31/2015 2:26 PM, Alan Bowen wrote:
>
>> \placeinitial used to
21:28) from the ConTeXt Suite (aka ConTeXt
Standalone).
Just in case it might help,
Pablo
>
> On Sun, Nov 1, 2015 at 9:18 AM, Hans Hagen wrote:
>
> On 10/31/2015 2:26 PM, Alan Bowen wrote:
>
> \placeinitial used to work but now does not with the latest beta.
>
&g
On 10/31/2015 2:26 PM, Alan Bowen wrote:
\placeinitial used to work but now does not with the latest beta.
Try the example from http://wiki.contextgarden.net/Initials.
\setupinitial[color=red,font=Bold sa 4,distance=3pt,state=start,n=3]
\starttext
\placeinitial \input knuth
\stoptext
\placeinitial used to work but now does not with the latest beta.
Try the example from http://wiki.contextgarden.net/Initials.
\setupinitial[color=red,font=Bold sa 4,distance=3pt,state=start,n=3]
\starttext
\placeinitial \input knuth
\stoptext
Alan
]
\starttext
\placeinitial[Greek]Ⲥελήνη
{\red Coptic capital sima}\quad\input ward
\placeinitial[Greek]Ἡλίου
{\red Greek capital eta with dasia (combining)}\quad\input ward
\placeinitial[Greek]Ⲏ̔λίου
{\red Coptic capital hate with dasia (combining)}\quad\input ward
\placeinitial[Greek]῾Ⲏλίου
{\red
Unicode]
\defineinitial
[Greek]
[location=margin,
font={DropFont sa 3},
n=2,
color=black,
distance=-1em,
hoffset=1.25em]
\starttext
\placeinitial[Greek]Ⲥελήνη
{\red Coptic capital sima}\quad\input ward
\placeinitial[Greek]Ἡλίου
{\red Greek capital eta with dasia (combining)}\quad\input
the problem and, incidentally, why non-combining marks are needed. (I
would attach the .pdf file if I knew the list’s protocol for attachments.)
The question is: Is there a way to get \placeinitial to take the first two
characters of the opening word? In the example below, I need case 4 to work
so
,
distance=-1em,
hoffset=1.25em]
\starttext
\placeinitial[Greek]Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου
Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ
τί του ἡλίου
\blank
\placeinitial[Greek]Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου
Ⲇιὰ τί του ἡλίου Ⲇιὰ τί
Gyre Termes][]
\setupbodyfont[mainface,10pt]
\defineinitial[Greek]
[location=margin,
font={Regular sa 3},
n=2,
distance=-1em,
hoffset=1.25em]
\starttext
\placeinitial[Greek]Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου
Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του
\placeinitial[Greek]Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ
τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του
ἡλίου
\blank
\placeinitial[Greek]Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ
τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου
to the \parindent. For example:
\setupinitial[font=Bold sa 4,n=3]
\setupindenting[yes,1em]
\starttext
\section{Knuth}
\placeinitial
\input knuth
\stoptext
I suppose this is not the intended behavior :) The problem doesn't
occur if I enable indenting also for the first paragraph after the
heading
[font=Bold sa 4,n=3]
\setupindenting[yes,1em]
\starttext
\section{Knuth}
\placeinitial
\input knuth
\stoptext
I suppose this is not the intended behavior :) The problem doesn't
occur if I enable indenting also for the first paragraph after the
heading, but in this case, of course, the drop cap
, state, n, command
\starttext
\placeinitial \input knuth
\stoptext
minimal
ConTeXt ver: 2013.01.13 23:10 MKIV fmt: 2013.1.17
Is there a problem or am I doing something wrong?!
Thanks in advance for your help.
Cheers
Andreas
=Bold sa 4,distance=3pt,state=start,n=3]
% known parameters: font, distance, state, n, command
\starttext
\placeinitial \input knuth
\stoptext
minimal
ConTeXt ver: 2013.01.13 23:10 MKIV fmt: 2013.1.17
Is there a problem or am I doing something wrong?!
What doesn’t work, do
; with
reference to [NTG-context] Lettrine not Working as Expected) does not work
for me:
minimal
\setupinitial[color=red,font=Bold sa 4,distance=3pt,state=start,n=3]
% known parameters: font, distance, state, n, command
\starttext
\placeinitial \input knuth
\stoptext
minimal
It took me quite a while to hunt this down...
The use of a text background breaks \placeinitial.
I do not have a patch, but at least can provide a minimal example:
\definetextbackground [SetOff] [location=paragraph]
\starttext
\placeinitial
\input tufte
\startSetOff
\input ward
\stopSetOff
\placeinitial does not play well with indenting.
% Minimal example:
\setupindenting [big,yes]
\starttext
\placeinitial
%\noindent
\input tufte
\input ward
\stoptext
%
Of course, uncommenting the \noindent is an aesthetic solution.
1. Should \noindent be included by default in \placeinitial
2
43 matches
Mail list logo